package mobilefeel.accelerometer;

import mobilefeel.AndroidDevice;
import mobilefeel.dto.AccelerometerEvent;

/**
 * Used for receiving notifications when accelerometer values have changed.
 */
public interface AccelerometerListener {

	/**
	 * Called when accelerometer values have changed.
	 * 
	 * @param device the {@link AndroidDevice} that generated the event
	 * @param event the {@link AccelerometerEvent}
	 */
	void onSensorChanged(AndroidDevice device, AccelerometerEvent event);
	
}
